Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADD rds parameter group provided var #12

Merged
merged 2 commits into from
Nov 20, 2017
Merged

Conversation

phoolish
Copy link
Contributor

@phoolish phoolish commented Nov 19, 2017

Added the parameter_group_provided var because:

* module.rds-parameter-group-provided.aws_db_parameter_group.mod: aws_db_parameter_group.mod: value of 'count' cannot be computed```

@phoolish phoolish requested a review from pturley November 19, 2017 00:10
@pturley
Copy link
Contributor

pturley commented Nov 19, 2017

This doesn't seem correct to me. I really dislike having to pass two parameters for the same thing. We do this all over the place. I see your error, but I dont understand why that is. We do this type of thing very frequently.

@phoolish
Copy link
Contributor Author

We pass computed values into modules to be used by other resources, but we never pass them to a variable that modifies count because of this. I agree that it seems backwards, but it makes sense with load order.

hashicorp/terraform#10857
hashicorp/terraform#11482

@phoolish phoolish merged commit 878fdfa into develop Nov 20, 2017
@phoolish phoolish deleted the parameter_group_provided branch November 20, 2017 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants